import "@/assets/base.css";
import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./App.vue";
import router from "./router";
import VueDraggableResizable from "vue-draggable-resizable"; // https://github.com/mauricius/vue-draggable-resizable
import SketchRule from "vue3-sketch-ruler"; // https://github.com/kakajun/vue3-sketch-ruler
import "vue3-sketch-ruler/lib/style.css";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
import { ContextMenu, ContextMenuItem } from "@imengyu/vue3-context-menu";
import "@imengyu/vue3-context-menu/lib/vue3-context-menu.css";
const app = createApp(App);

app.use(createPinia());
app.use(router);
app.use(Antd);
app.component("VueDraggableResizable", VueDraggableResizable);
app.component("SketchRule", SketchRule);
app.component("ContextMenu", ContextMenu)
app.component("ContextMenuItem", ContextMenuItem)
app.mount("#app");
